﻿#ifndef LOADINGRING_H
#define LOADINGRING_H

#include <QWidget>
#include <QTimer>

class LoadingRing : public QWidget
{
    Q_OBJECT
public:
    explicit LoadingRing(QWidget* parent = nullptr);

protected:
    void paintEvent(QPaintEvent*) override;

private:
    QTimer m_timer;
    int m_angle = 0;
};

#endif // LOADINGRING_H
